package com.weixing.mall.provider.model.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @ClassName FrontGoodsQuery
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/11/29
 * @Version 1.0
 **/
@Data
public class FrontGoodsQuery {
    //商品名称
    @ApiModelProperty(value = "搜索框信息（商品名称/关键字/场景名称）")
    private String information;
    //分类
    @ApiModelProperty(value = "分类id")
    private Long catId;

    //分类
    @ApiModelProperty(value = "二级分类id")
    private Long catlevel2Id;
    //场景
    @ApiModelProperty(value = "场景id")
    private Long sceneId;

    //场景
    @ApiModelProperty(value = "活动id")
    private Long actId;
    //分区
    @ApiModelProperty(value = "分区id（1、时尚分区 2、专柜分区 3、饰品分区 4、活动分区）")
    private Integer partitionId;
    //价格
    @ApiModelProperty(value = "最低价")
    private BigDecimal minPrice;
    @ApiModelProperty(value = "最高价")
    private BigDecimal maxPrice;
    //颜色
    @ApiModelProperty(value = "颜色")
    private String colorValue;
    //尺码
    @ApiModelProperty(value = "尺码")
    private String sizeValue;
    @ApiModelProperty(value = "排序  1 根据销量排； 2 根据最新排；3根据价格降序; 4 根据价格升序")
    private Integer sort;
    @ApiModelProperty(value = "商品码")
    private String goodsSn;
    @ApiModelProperty(value = "货号")
    private String productSn;
    //sku描述（颜色尺码，传入格式: 颜色:黑色,尺码:XL）
    @ApiModelProperty(value = "sku描述")
    private String productSkuDesp;
    //商品参数（传入格式:衣宽,袖长.....）
    @ApiModelProperty(value = "商品参数")
    private String paramValue;
    @ApiModelProperty(value = "新商品参数")
    private List<String> params;
    @ApiModelProperty(value = "新商品参数值")
    private List<String> paramvalues;
    @ApiModelProperty(value = "上架状态")
    private Integer status=2;
}
